  {include file='public/head' /}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main">
      <div class="row">
        <div class="col-md-5">
          <h1 class="page-header" style="color:#3399CC">用户个人信息</h1>
          <form>
            <div class="form-group">
              <label for="category-name">用户名 : </label>
              <input type="text" class="form-control" value="{$data.user_name}" readonly="readonly" style="background-color: white">
            </div> 
            <div class="form-group">
              <label for="category-name">用户组 : </label>
              <input type="text" class="form-control" 
                  {if condition='$data.group_id eq 1'}
                   value="超级管理员"
                  {elseif condition="$data.group_id eq 2"}
                   value="管理员"
                  {elseif condition="$data.group_id eq 3"} 
                   value="游客"
                  {else /}
                   value="其他"
                  {/if}  
             readonly="readonly" style="background-color: white">
            </div>  
           
            <div class="form-group">
              <label for="category-name">注册时间 : </label>
              <input type="text" class="form-control" value="{$data.create_time}" readonly="readonly" style="background-color: white">
            </div>
            <div class="form-group">
              <label for="category-name">上次登录时间 : </label>
              <input type="text" class="form-control" value="{:session('logintime')}" readonly="readonly" style="background-color: white">
            </div>
            <div class="form-group">
              <label for="category-name">上次登录IP : </label>
              <input type="text" class="form-control" value="{:session('loginip')}" readonly="readonly" style="background-color: white">
            </div> 
            <div class="form-group">
              <label for="category-name">上次登录地址 : </label>
              <input type="text" class="form-control" value="{:session('ipadress')}" readonly="readonly" style="background-color: white">
            </div>   
            <div class="form-group">
              <label for="category-name">登录次数 : </label>
              <input type="text" class="form-control" value="{$data.loginnum}" readonly="readonly" style="background-color: white">
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</section>
</body>
</html>
